﻿<floatcontrols:FloatableWindow x:Class="CityLife.BudgetWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:floatcontrols="clr-namespace:System.Windows.Controls;assembly=FloatableWindow"
		   xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="400" 
           Title="FloatableWindow1">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.301*"/>
            <ColumnDefinition Width="0.542*"/>
            <ColumnDefinition Width="0.157*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="25" />
            <RowDefinition Height="25" />
            <RowDefinition Height="25" />
            <RowDefinition Height="25" />
            <RowDefinition Height="25" />
            <RowDefinition Height="25" />
			 <RowDefinition Height="25" />
            <RowDefinition Height="125" />
            
            
 
            <RowDefinition Height="0.19*"/>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Height="23" Grid.Row="13" Grid.Column="2" Margin="-15,0,0,0" />
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Height="23"  Margin="0,0,19,0" Grid.Row="13" Grid.Column="1" HorizontalAlignment="Right" Width="75" />

   <TextBlock Text="Expenses" TextWrapping="Wrap" FontSize="18.667" FontWeight="Bold"/>
      
        <TextBlock   Text="Police:" TextWrapping="Wrap" Grid.Column="0" Grid.Row="1" FontSize="13.333" FontWeight="Bold"/>
        <Slider  x:Name="Police" Grid.Column="1" Grid.Row="1" SmallChange="1000" LargeChange="2000"   Minimum="0" Maximum="20000"/>
        <TextBox x:Name="PoliceVal"   Grid.Column="2"   TextWrapping="Wrap" Grid.Row="1" FontSize="13.333" FontWeight="Bold" TextChanged="PoliceVal_TextChanged"/>


        <TextBlock   Text="Health care:" TextWrapping="Wrap" Grid.Column="0" Grid.Row="2" FontSize="13.333" FontWeight="Bold"/>
        <Slider  x:Name="HealthCare" Grid.Column="1" Grid.Row="2" SmallChange="1000" LargeChange="2000"   Minimum="0" Maximum="20000"/>
        <TextBox x:Name="HealthCareVal"   Grid.Column="2"   TextWrapping="Wrap" Grid.Row="2" FontSize="13.333" FontWeight="Bold" TextChanged="HealthCareVal_TextChanged"/>


        <TextBlock   Text="Education:" TextWrapping="Wrap" Grid.Column="0" Grid.Row="3" FontSize="13.333" FontWeight="Bold"/>
        <Slider  x:Name="Education" Grid.Column="1" Grid.Row="3" SmallChange="1000" LargeChange="2000"   Minimum="0" Maximum="20000"/>
        <TextBox x:Name="EducationVal"   Grid.Column="2"  TextWrapping="Wrap" Grid.Row="3" FontSize="13.333" FontWeight="Bold" TextChanged="EducationVal_TextChanged"/>
		
		  <TextBlock   Text="Transportation:" TextWrapping="Wrap" Grid.Column="0" Grid.Row="4" FontSize="13.333" FontWeight="Bold" />
        <Slider  x:Name="Transportation" Grid.Column="1" Grid.Row="4" SmallChange="1000" LargeChange="2000"   Minimum="0" Maximum="20000"/>
        <TextBox x:Name="TransportationVal"   Grid.Column="2"   TextWrapping="Wrap" Grid.Row="4"   FontSize="13.333" FontWeight="Bold" TextChanged="TransportationVal_TextChanged"/>


        <TextBlock Text="Income" TextWrapping="Wrap" Grid.Row="6" FontSize="18.667" FontWeight="Bold"/>
     
	 
	 
	 
	 
	 
	 
	 <controls:TabControl x:Name="IncomeTabs" Margin="0,0,0,0" Grid.Row="7" Grid.Column="0" Grid.ColumnSpan="3"  TabStripPlacement="Left">
        <controls:TabItem x:Name="ResidentialTab" Header="Residential" ToolTipService.ToolTip="Residential">
		  <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="90"/>
            <ColumnDefinition Width="0.542*"/>
            <ColumnDefinition Width="80"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="25" />
            <RowDefinition Height="25" />
            <RowDefinition Height="25" />
         
        </Grid.RowDefinitions>
		
		 <TextBlock Text="Residential1 tax:" TextWrapping="Wrap" Grid.Row="0" Grid.Column="0" FontSize="9.333" FontWeight="Bold"/>
 <Slider  x:Name="Residential1" Grid.Column="1" Grid.Row="0" SmallChange="1" LargeChange="10"   Minimum="0" Maximum="5000" ValueChanged="SliderValueChanged"  />
 <TextBox x:Name="Residential1Val"   Grid.Column="2"   TextWrapping="Wrap" Grid.Row="0"   FontSize="13.333" FontWeight="Bold" TextChanged="TextVal_TextChanged"  />


	 <TextBlock Text="Residential2 tax:" TextWrapping="Wrap" Grid.Row="1" Grid.Column="0" FontSize="9.333" FontWeight="Bold" Height="25" VerticalAlignment="Top"/>
 <Slider  x:Name="Residential2" Grid.Column="1" Grid.Row="1" SmallChange="10" LargeChange="100"   Minimum="0" Maximum="5000" ValueChanged="SliderValueChanged" />
 <TextBox x:Name="Residential2Val"   Grid.Column="2"   TextWrapping="Wrap" Grid.Row="1"   FontSize="13.333" FontWeight="Bold" TextChanged="TextVal_TextChanged"/>



	 <TextBlock Text="Residential3 tax:" TextWrapping="Wrap" Grid.Row="2" Grid.Column="0" FontSize="9.333" FontWeight="Bold"/>
 <Slider  x:Name="Residential3" Grid.Column="1" Grid.Row="2" SmallChange="1" LargeChange="10"   Minimum="0" Maximum="5000" ValueChanged="SliderValueChanged"/>
 <TextBox x:Name="Residential3Val"   Grid.Column="2"   TextWrapping="Wrap" Grid.Row="2"   FontSize="13.333" FontWeight="Bold" TextChanged="TextVal_TextChanged"  />


</Grid>

		
		</controls:TabItem>
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		 <controls:TabItem Header="Commercial" ToolTipService.ToolTip="Commercial" x:Name="CommercialTab">
		  <Grid>
        <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="90"/>
            <ColumnDefinition Width="0.542*"/>
            <ColumnDefinition Width="80"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="25" />
            <RowDefinition Height="25" />
            <RowDefinition Height="25" />
         
        </Grid.RowDefinitions>
		
      <TextBlock Text="Commercial1 tax:" TextWrapping="Wrap" Grid.Row="0" Grid.Column="0" FontSize="9.333" FontWeight="Bold"/>
        <Slider  x:Name="Commercial1" Grid.Column="1" Grid.Row="0" SmallChange="1" LargeChange="10"   Minimum="0" Maximum="5000" ValueChanged="SliderValueChanged"/>
        <TextBox x:Name="Commercial1Val"   Grid.Column="2"   TextWrapping="Wrap" Grid.Row="0"   FontSize="13.333" FontWeight="Bold" TextChanged="TextVal_TextChanged"/>


      <TextBlock Text="Commercial2 tax:" TextWrapping="Wrap" Grid.Row="1" Grid.Column="0" FontSize="9.333" FontWeight="Bold"/>
        <Slider  x:Name="Commercial2" Grid.Column="1" Grid.Row="1" SmallChange="1" LargeChange="10"   Minimum="0" Maximum="5000" ValueChanged="SliderValueChanged"/>
        <TextBox x:Name="Commercial2Val"   Grid.Column="2"   TextWrapping="Wrap" Grid.Row="1"   FontSize="13.333" FontWeight="Bold" TextChanged="TextVal_TextChanged"/>


      <TextBlock Text="Commercial3 tax:" TextWrapping="Wrap" Grid.Row="2" Grid.Column="0" FontSize="9.333" FontWeight="Bold"/>
        <Slider  x:Name="Commercial3" Grid.Column="1" Grid.Row="2" SmallChange="1" LargeChange="10"   Minimum="0" Maximum="5000" ValueChanged="SliderValueChanged"/>
        <TextBox x:Name="Commercial3Val"   Grid.Column="2"   TextWrapping="Wrap" Grid.Row="2"   FontSize="13.333" FontWeight="Bold" TextChanged="TextVal_TextChanged"/>



</Grid>

		
		</controls:TabItem>
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
			
		 <controls:TabItem Header="Industrial" ToolTipService.ToolTip="Industrial" x:Name="IndustrialTab">
		  <Grid>
        <Grid.ColumnDefinitions>
                     <ColumnDefinition Width="90"/>
            <ColumnDefinition Width="0.542*"/>
            <ColumnDefinition Width="80"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="25" />
            <RowDefinition Height="25" />
            <RowDefinition Height="25" />
         
        </Grid.RowDefinitions>
		
      <TextBlock Text="Industrial1 tax:" TextWrapping="Wrap" Grid.Row="0" Grid.Column="0" FontSize="9.333" FontWeight="Bold"/>
        <Slider  x:Name="Industrial1" Grid.Column="1" Grid.Row="0" SmallChange="1" LargeChange="10"   Minimum="0" Maximum="5000" ValueChanged="SliderValueChanged"/>
        <TextBox x:Name="Industrial1Val"   Grid.Column="2"   TextWrapping="Wrap" Grid.Row="0"   FontSize="13.333" FontWeight="Bold" TextChanged="TextVal_TextChanged"/>
 

   <TextBlock Text="Industrial2 tax:" TextWrapping="Wrap" Grid.Row="1" Grid.Column="0" FontSize="9.333" FontWeight="Bold"/>
        <Slider  x:Name="Industrial2" Grid.Column="1" Grid.Row="1" SmallChange="1" LargeChange="10"   Minimum="0" Maximum="5000" ValueChanged="SliderValueChanged"/>
        <TextBox x:Name="Industrial2Val"   Grid.Column="2"   TextWrapping="Wrap" Grid.Row="1"   FontSize="13.333" FontWeight="Bold" TextChanged="TextVal_TextChanged"/>

   <TextBlock Text="Industrial3 tax:" TextWrapping="Wrap" Grid.Row="2" Grid.Column="0" FontSize="9.333" FontWeight="Bold"/>
        <Slider  x:Name="Industrial3" Grid.Column="1" Grid.Row="2" SmallChange="1" LargeChange="10"   Minimum="0" Maximum="5000" ValueChanged="SliderValueChanged"/>
        <TextBox x:Name="Industrial3Val"   Grid.Column="2"   TextWrapping="Wrap" Grid.Row="2"   FontSize="13.333" FontWeight="Bold" TextChanged="TextVal_TextChanged"/>


</Grid>

		
		</controls:TabItem>
		
		</controls:TabControl>




     </Grid>
</floatcontrols:FloatableWindow>